package com.seal.commons.groovy.model;

import com.seal.commons.groovy.enums.GroovyScriptType;

import java.net.URL;

/**
 * 功能描述: <br/>
 *
 * @author yong.huang
 * @date: 2021-04-20 22:02<br/>
 * @since JDK 1.8
 */
public class GroovyScript {

    /**
     * 脚本类型
     */
    private GroovyScriptType type;

    /**
     * 脚本代码
     */
    private String code;

    /**
     * 脚本文件
     */
    private String path;

    /**
     * url
     */
    private URL url;

    public GroovyScriptType getType() {
        return type;
    }

    public void setType(GroovyScriptType type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public URL getUrl() {
        return url;
    }

    public void setUrl(URL url) {
        this.url = url;
    }
}